#pragma once

#include "HoughTransformLineDetector.h"

class ProbabilisticHoughTransformLineDetector : public HoughTransformLineDetector {
public:
	ProbabilisticHoughTransformLineDetector(double  rhoPrecision,
											double  thetaPrecision,
											int     threshold,
											double  minLineLength,
											double  maxGap);

public:
	~ProbabilisticHoughTransformLineDetector(void);

public:
	std::vector<Line> detect(const IplImage* im);

private:
	double  minLineLength;
	double  maxGap;
};
